package pin.db.schema.base;
import pin.db.schema.*;
import java.util.Hashtable;
import java.sql.Timestamp;
import java.sql.Connection;
import java.sql.ResultSet;
import java.util.Collection;
import java.sql.SQLException;
import java.util.Vector;
public class BlogSpotForwardBase{
	boolean[] modified=new boolean[4];
	public void resetModified(){
		for(boolean b:modified){
			b=false;
		}
	}
	private final Hashtable<String,Object> data=new Hashtable<String,Object>();
	public final void set(String columnNameDb, Object value){
		data.put(columnNameDb,value);
	}
	public final Object get(String columnNameDb){
		return data.get(columnNameDb);
	}
	public BlogSpotForwardBase(){}
	public BlogSpotForwardBase(java.lang.Long id,java.lang.Long blogSpotId,java.lang.Long targetId,java.lang.Long appId){
		setId(id);
		setBlogSpotId(blogSpotId);
		setTargetId(targetId);
		setAppId(appId);
	}
	public void setId(java.lang.Long id){
		if(id!=null) {
			set("id",id);
			this.modified[0] =true;
		}
	}
	public java.lang.Long getId(){
		return (java.lang.Long)get("id");
	}
	public void setBlogSpotId(java.lang.Long blogSpotId){
		if(blogSpotId!=null) {
			set("blogSpotId",blogSpotId);
			this.modified[1] =true;
		}
	}
	public java.lang.Long getBlogSpotId(){
		return (java.lang.Long)get("blogSpotId");
	}
	public void setTargetId(java.lang.Long targetId){
		if(targetId!=null) {
			set("targetId",targetId);
			this.modified[2] =true;
		}
	}
	public java.lang.Long getTargetId(){
		return (java.lang.Long)get("targetId");
	}
	public void setAppId(java.lang.Long appId){
		if(appId!=null) {
			set("appId",appId);
			this.modified[3] =true;
		}
	}
	public java.lang.Long getAppId(){
		return (java.lang.Long)get("appId");
	}
}
